// import {PREFIX} from '@/consts/index';

const PREFIX = 'x-';
const WIDGET_PREFIX_CLASS = `${PREFIX}-split`;

const GUTTER_COLLAPSE_PREV_CLASS_NAME = `${PREFIX}-gutter-collapse-prev-`;

const GUTTER_COLLAPSE_NEXT_CLASS_NAME = `${PREFIX}-gutter-collapse-next-`;

const GUTTER = `${PREFIX}-gutter`;
const ARROW = `${PREFIX}-arrow`;

const HIDE = `${PREFIX}-hide`;
//前缀
// export const prefix= 'x-';

module.exports = {
    //前缀
    prefix: `${PREFIX}`,

    //顶级容器class
    widgetPrefixCls: `${PREFIX}split`,
    //分隔栏class
    gutter: `${PREFIX}gutter`,
    //水平分隔各区域class
    splitHorizontal: `${PREFIX}split-horizontal`,
    //水平分隔栏class
    gutterHorizontal: `${PREFIX}gutter-horizontal`,
    //垂直分隔栏class
    gutterVertical: `${PREFIX}gutter-vertical`,
    //箭头class
    arrow: `${PREFIX}arrow`,
    //隐藏样式class
    hide: `${PREFIX}hide`,
    //收起左侧/上侧class
    gutterCollapsePrev: `${PREFIX}gutter-collapse-prev-`,
    //收起右侧/下侧class
    gutterCollapseNext: `${PREFIX}gutter-collapse-next-`,

    //分隔栏颜色
    gutterColor: '#eee',
    //箭头颜色
    arrowColor: '#eee',
    //按钮宽度
    collapseWidth: '10px',
    //按钮高度
    collapseHeight: '20px',
    //按钮距离分隔栏的距离
    collapseGutterDistance: '11px',
    //按钮距离左侧或顶部距离
    collapseDistance: '50.5%',
}
